﻿@{
    ViewBag.Title = "טיפים";
}
@section headElements{
    <script src="@Url.Content("~/Scripts/Tips.js")" type="text/javascript"></script>
}
<ul id="Breadcrumbs">
    <li><a href="@Url.Action("Index", "Admin")">פאנל ניהול</a></li>
    <li>טיפים</li>
</ul>
<table id="tblTips">
    <tr>
        <th>
        </th>
        <th>
            טקסט
        </th>
        <th>
            הסר
        </th>
    </tr>
</table>
<div class="topSpace">
    <input type="button" value="טיפ חדש" id="btnAddTip" class="button" />
</div>
<script id="tipTemplate" type="text/x-jquery-tmpl">
    <tr>
        <td class="successCell">
            <img src="@Url.Content("~/Content/images/success.png")" class="hidden" />
        </td>
        <td>
            <input type="hidden" id="TipId" name="TipId" value="${TipId}" />
            <textarea name="TipText" style="width:300px;">${TipText}</textarea>
        </td>
        <td>
            <a href="" class="lnkDeleteTip">מחק טיפ</a>
        </td>
    </tr>
</script>
